home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
301-325
/
disk_319
/
cnewssrc
/
cnews.orig.lzh
/
libfake
/
index.c
< prev
next >
Wrap
C/C++ Source or Header
|
1989-06-27
|
236b
|
16 lines
/*
* index - find first occurrence of a character in a string
*/
#define NULL 0
char * /* found char, or NULL if none */
index(s, charwanted)
char *s;
char charwanted;
{
extern char *strchr();
return(strchr(s, charwanted));
}